package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.vo.BaseVO;

import java.util.Date;

import static org.jsola.core.example.BaseExample.E_GMT_CREATE;
import static org.jsola.core.example.BaseExample.E_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.E_ID;
import static org.jsola.core.example.BaseExample.N_GMT_CREATE;
import static org.jsola.core.example.BaseExample.N_GMT_MODIFIED;
import static org.jsola.core.example.BaseExample.N_ID;
import static org.jsola.hr.example.ChannelCompanyExample.E_CHANNEL_ID;
import static org.jsola.hr.example.ChannelCompanyExample.E_CHILD_COMPANY_ID;
import static org.jsola.hr.example.ChannelCompanyExample.E_EMPLOYER_ID;
import static org.jsola.hr.example.ChannelCompanyExample.E_IS_ALL_CHILD_COMPANY;
import static org.jsola.hr.example.ChannelCompanyExample.E_IS_ALL_EMPLOYER;
import static org.jsola.hr.example.ChannelCompanyExample.N_CHANNEL_ID;
import static org.jsola.hr.example.ChannelCompanyExample.N_CHILD_COMPANY_ID;
import static org.jsola.hr.example.ChannelCompanyExample.N_EMPLOYER_ID;
import static org.jsola.hr.example.ChannelCompanyExample.N_IS_ALL_CHILD_COMPANY;
import static org.jsola.hr.example.ChannelCompanyExample.N_IS_ALL_EMPLOYER;

/**
 * 渠道用工单位
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【渠道用工单位】详情展示对象")
@Data
public class ChannelCompanyVO extends BaseVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = N_ID, example = E_ID)
    private String id;

    @ApiModelProperty(notes = N_CHANNEL_ID, example = E_CHANNEL_ID)
    private String channelId;

    @ApiModelProperty(notes = N_CHILD_COMPANY_ID, example = E_CHILD_COMPANY_ID)
    private String childCompanyId;

    @ApiModelProperty(notes = N_EMPLOYER_ID, example = E_EMPLOYER_ID)
    private String employerId;

    @ApiModelProperty(notes = N_IS_ALL_EMPLOYER, example = E_IS_ALL_EMPLOYER)
    private Boolean isAllEmployer;

    @ApiModelProperty(notes = N_IS_ALL_CHILD_COMPANY, example = E_IS_ALL_CHILD_COMPANY)
    private Boolean isAllChildCompany;

    @ApiModelProperty(notes = N_GMT_CREATE, example = E_GMT_CREATE)
    private Date gmtCreate;

    @ApiModelProperty(notes = N_GMT_MODIFIED, example = E_GMT_MODIFIED)
    private Date gmtModified;



}

